<template>
  <div class="temp-warp _ml-20">
    <img class="bg-img" src="@/assets/icons/message/smsBg.png" alt="" />
    <div class="temp-content _p-12">
      <!-- <span class="fw-6">【{{ title }}】</span> -->
      <span>{{ content }}</span>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: ''
    },
    content: {
      type: String,
      default: ''
    }
  }
}
</script>
<style scoped lang="less">
.temp-warp {
  width: 280px;
  height: 280px;
  position: relative;
  font-size: 12px;
  .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 280px;
    height: 280px;
  }
  .temp-content {
    position: absolute;
    left: 20px;
    top: 95px;
    z-index: 2;
    width: 240px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.05);
    min-height: 150;
    .title {
      padding: 12px;
      font-weight: bold;
    }
    .text {
      white-space: break-spaces;
      // margin: 10px 0;
      margin-bottom: 15px;
      padding: 0 12px;
    }
    .bottom-info {
      padding: 5px 12px;
      border-top: 1px #eee solid;
      .left {
        .user-icon {
          width: 20px;
          height: 20px;
        }
      }
      .right {
        .wx-icon {
          width: 10px;
          height: 10px;
        }
        .right-icon {
          width: 10px;
          height: 10px;
        }
      }
    }
  }
}
</style>
